package com.zuser.project;

import com.zuser.project.dao.CustomerInfoDao;
import jakarta.annotation.Resource;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.zuser.project.dao")
@EnableDiscoveryClient
public class Main  implements ApplicationRunner {

    private final Logger log = LoggerFactory.getLogger(Main.class);
    public static void main(String[] args) {
        SpringApplication.run(Main.class);
    }

    @Value("${server.port}")
    private String port;

    @Resource
    private CustomerInfoDao customerInfoDao;

    @Override
    public void run(ApplicationArguments args) throws Exception {

    }
}